.search-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 30px;
  position: relative;
}

.search-form {
  position: relative;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  background: white;
  border-radius: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.search-input-wrapper:focus-within {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.search-input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #333;
}

.search-input::placeholder {
  color: #999;
  font-style: italic;
}

.search-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.search-button {
  padding: 16px 20px;
  border: none;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.search-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #0984e3 0%, #74b9ff 100%);
  transform: scale(1.05);
}

.search-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.search-icon {
  font-size: 18px;
}

.loading-spinner {
  font-size: 16px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 建议列表样式 */
.suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background-color: #f8f9fa;
}

.suggestion-icon {
  margin-right: 12px;
  font-size: 14px;
  opacity: 0.6;
}

.suggestion-text {
  font-size: 14px;
  color: #333;
}

/* 快捷城市按钮 */
.quick-cities {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-cities-label {
  font-size: 14px;
  color: #666;
  margin-right: 8px;
  white-space: nowrap;
}

.quick-city-btn {
  padding: 8px 16px;
  border: 2px solid #74b9ff;
  background: transparent;
  color: #74b9ff;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.quick-city-btn:hover:not(:disabled) {
  background: #74b9ff;
  color: white;
  transform: translateY(-2px);
}

.quick-city-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* 响应式设计 */
@media (max-width: 600px) {
  .search-container {
    margin: 0 16px 30px;
  }
  
  .search-input {
    padding: 14px 16px;
    font-size: 14px;
  }
  
  .search-button {
    padding: 14px 16px;
    min-width: 50px;
  }
  
  .quick-cities {
    justify-content: flex-start;
  }
  
  .quick-cities-label {
    font-size: 12px;
  }
  
  .quick-city-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .quick-cities {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .quick-cities-label {
    margin-right: 0;
  }
  
  .quick-city-btn {
    margin-right: 8px;
  }
}